#pragma once


//There are 2 attribute of disks accesses
//(1) Access distribution: continuously:1 / long interval:2 
//(2) Access range: randomly:3 / within a range:4

const int const_interval = 5;
const int const_range = 10;

class AccessGenerater
{
public:
	AccessGenerater(int id, int ad, int ar);
	~AccessGenerater(void);

	bool is_Priority;
	int m_id;
	int m_interval;
	int m_range;

	int cur_interval;
	int getAccess();
	int computeAccess();
};

